home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / x11 / rpg / crossfir.92 / crossfir / crossfire-0.92.5 / doc / spell_params.doc < prev    next >
Text File  |  1996-07-24  |  3KB  |  97 lines

  1.  
  2. This document explains how to reset certain spell parameters,
  3. such as damage and duration, and the level dependencies of the above.
  4.  
  5. You may either change the compiled-in defaults, defined in spellist.h,
  6. or the file lib/spell_params, which is read upon server initialization or
  7. read upon the dm executing 'spellreset'.
  8.  
  9.  
  10. Fundamental definitions:
  11. level --  spell level
  12. sp    --  the spellpoints the spell costs
  13. bdam  --  usually the damage the spell does
  14. bdur  --  the duration or range of the spell
  15. ldam  --  how many levels above the min. level to cast the spell to gain
  16.       1pt of damage
  17. ldur  --  how many levels above the min. level to gain one point of duration
  18. spl   --  How many levels it takes for the spellpoint cost of the spell to double
  19.  
  20. This is the format of the file:
  21.  
  22. <spell name>
  23. <level> <sp> <bdam> <bdur> <ldam> <bdur> <spl>
  24. <spell name>
  25. <level> <sp> <bdam> <bdur> <ldam> <bdur> <spl>
  26. ...
  27.  
  28. Spells not in the parameter file use the compiled in defaults
  29. in spellist.h
  30.  
  31. sp_level_strength_adjust = MAX(0, (caster's level - spell level) / ldur) )
  32. sp_level_dam_adjust = MAX(0, (caster's level- spell level)/ ldam) )
  33.  
  34. Examples:  if ldam=3 for small fireball, a 4th level character's fireball's
  35. will do 1pt more damage per turn than a 1st level character's fireball.
  36.  
  37.  
  38.  
  39. Special cases and exceptions
  40.  
  41. cone spells:  bdur = duration of cone
  42.           
  43. fireballs:  bdur ==  radius of explosion.
  44.  
  45. lightnings:  bdur == length of bolt?
  46.  
  47. bomb:  bdur == radius of explosion.
  48.  
  49. destruction:  bdur = range of damage
  50.           damage = bdam + int(caster)
  51.  
  52. turn undead:  duration ==  bdur + wisdom bonus
  53.  
  54. fear:  duration == bdur + cha bonus
  55.  
  56. holy_word  duration==bdur + turn bonus
  57.  
  58. summoning spells:  ldur:  how many levels needed to give the monster an
  59.             additional 10hp
  60.            ldam:  how many levels needed to give the monster's dam
  61.             additional 2hp/attack
  62.           bdam:  base damage done by monster
  63.           bdur:  base hp of monster
  64.  
  65. earthwall:  hp ==  bdam + sp_level_strength * 10
  66.  
  67. firewall:  duration= bdur + 5*sp_level_strength_adjust
  68. frostwall:  ""
  69. counterwall:  ""
  70. pool of chaos: ""
  71.  
  72. invisibility:
  73. duration = bdur + ldam * sp_level_strength_adjust
  74.  
  75. earth_to_dust:  range = bdur + sp_level_strength_adjust
  76.  
  77. strength, dexterity, constitution, charisma,  
  78. armour, all protection and immunity spells, levitate
  79.  
  80.   duration = 500 server_clicks + 50*sp_level_strength_adjust
  81.  
  82. cancellation:  no level dependence hacked in
  83.  
  84. confusion:  none
  85.  
  86. mass confusion:  duration = bdur + sp_level_strength_adjust
  87.  
  88. meteor swarm:  sp_level_strength_adjust=# additional comets
  89.  
  90.  
  91. build [whatever]:
  92.     hp = bdam + 5*sp_level_dam_adjust
  93.     duration = bdur + 5*sp_level_strength_adjust
  94.  
  95. create food :  bdam = base food value creatable with this spell
  96.            ldam = food value += 50*SP_level_dam_adjust
  97.